export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "dialogClickModal": false,
  "searchMenuSpan": 6,
  "column": [
	  {
      "type": "input",
      "label": "编号",
      "prop": "visitorId",
      hide: true,
      addDisplay: false,
      editDisplay: false,
      "span": 12
    },	  {
      "type": "input",
      "label": "业务编号",
      "prop": "bizId",
      hide: true,
      addDisplay: false,
      editDisplay: false,
      "span": 12
    },	  {
      "type": "input",
      "label": "访客单位",
      addDisabled: true,
      editDisabled: true,
      prop: 'unitName',
      "span": 12
    },	  {
      "type": "input",
      "label": "名称",
      "prop": "name",
      search: true,
      maxlength: 12,
      rules: [{
        required: true,
        message: "请输入名称",
      }],
      "span": 12
    },	  {
      "type": "input",
      "label": "手机号",
      "prop": "phone",
      rules: [{
        required: true,
        message: "请输入手机号",
      }],
      maxlength: 18,
      "span": 12
    },	  {
      "type": "input",
      "label": "身份证号码",
      "prop": "card",
      maxlength: 24,
      "span": 12
    },	  {
      "type": "date",
      "label": "拜访有效期",
      "prop": "validityDate",
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
      clearable: false,
      "span": 12
    },	  {
      "type": "textarea",
      "label": "备注",
      "prop": "remark",
      maxlength: 256,
      "span": 24
    },	  {
      "type": "upload",
      "label": "附件",
      slot: true,
      hide: true,
      formslot: true,
      "prop": "attachment",
      accept: [],
      propsHttp: {
        res: 'data',
        name: "original"
      },
      props: {
        label: "original",
        value: "url"
      },
      action: "/act/file/upload",
      listType: 'file',
      "span": 24
    },	  {
      "type": "input",
      "label": "创建时间",
      "prop": "createTime",
      hide: true,
      editDisabled: true,
      addDisplay: false,
      "span": 12
    },	  {
      "type": "input",
      "label": "更新时间",
      "prop": "updateTime",
      hide: true,
      editDisabled: true,
      addDisplay: false,
      "span": 12
    }  ]
}
